<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <!--[if lt IE 9]>
    <script type="text/javascript" src="./Public/Admin/lib/html5.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/respond.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/PIE_IE678.js"></script>
    <![endif]-->
    <link href="./Public/Admin/css/H-ui.min.css" rel="stylesheet" type="text/css">

    <!--[if IE 6]>
    <script type="text/javascript" src="./Public/Home/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>网站后台管理系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script type="text/javascript" src="./Public/Admin/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/layer/1.9.3/layer.js"></script>
    <script src="./Public/highcharts/highcharts.js"></script>
	<link rel="stylesheet" href="./Public/Admin/lib/layer/1.9.3/skin/layer.css" id="layui_layer_skinlayercss">
	
	<style>
		td{
			width:50%;
			height:60px;
		}
		.fonts{
			color:red;
			font-weight:bold;
		}
		.welcometable{
			width:32%;float:left;margin-right:20px;
		}
		@media (max-width: 1200px) {
		  .welcometable{
			width:32%;float:left;margin-right:5px;
		  }
		}
	</style>
	
<title>-</title>
</head>
<body>
<div style="padding:20px 0 20px 20px;float:left;width:98%;">
<p class="f-16 text-success">欢迎登陆天众供应链仓储管理系统！</p>  
  <table class="table table-border table-bordered table-bg welcometable">
    <thead>
      <tr>
        <th colspan="2" scope="col">待处理</th>
      </tr>
    </thead>
    <tbody>
	  <tr class="text-c">
        <td>未审核入库单<span class="<if condition='$count1 gt 0'>fonts</if>">（<a href="javascript:void(0)" onclick="showTab('{:U('Index/index')}','123')">{$count1}</a>）</span></td>
        <td>待上架商品<span class="<if condition='$count2 gt 0'>fonts</if>">（{$count2}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待入库商品<span class="<if condition='$count3 gt 0'>fonts</if>">（{$count3}）</span></td>
        <td>待审核调拨单<span class="<if condition='$count4 gt 0'>fonts</if>">（{$count4}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待出库（发货）订单<span class="<if condition='$count5 gt 0'>fonts</if>">（{$count10}）</span></td>   
        <td>待审核其它出库单<span class="<if condition='$count6 gt 0'>fonts</if>">（{$count6}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待审核生产计划单<span class="<if condition='$count7 gt 0'>fonts</if>">（{$count7}）</span></td>
        <td>待审核耗材采购单<span class="<if condition='$count8 gt 0'>fonts</if>">（{$count8}）</span></td>       
      </tr>

    </tbody>
  </table>
  <table class="table table-border table-bordered table-bg welcometable">
    <thead>
      <tr>
        <th colspan="2" scope="col">入库单</th>
      </tr>
      
    </thead>
    <tbody>
     <tr class="text-c">
        <td>未审核入库单<span class="<if condition='$count1 gt 0'>fonts</if>">（{$count1}）</span></td>
        <td>待入库申报<span class="<if condition='$count11 gt 0'>fonts</if>">（{$count11}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待入库商品<span class="<if condition='$count3 gt 0'>fonts</if>">（{$count3}）</span></td>
        <td>待实收申报<span class="<if condition='$count12 gt 0'>fonts</if>">（{$count12}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待打印监盘计划<span class="<if condition='$count13 gt 0'>fonts</if>">（{$count13}）</span></td>
        <td>待打印理货报告<span class="<if condition='$count14 gt 0'>fonts</if>">（{$count14}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待审核其它入库单<span class="<if condition='$count5 gt 0'>fonts</if>">（{$count5}）</span></td>
        <td>待入库耗材<span class="<if condition='$count9 gt 0'>fonts</if>">（{$count9}）</span></td>    
      </tr>

    </tbody>
  </table>
    <table class="table table-border table-bordered table-bg welcometable">
    <thead>
      <tr>
        <th colspan="2" scope="col">订单</th>
      </tr>
      
    </thead>
    <tbody>
     <tr class="text-c">
        <td>待出库（发货）订单<span class="<if condition='$count10 gt 0'>fonts</if>">（{$count10}）</span></td>   
        <td>待拣货订单<span class="<if condition='$count15 gt 0'>fonts</if>">（{$count15}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待打印面单<span class="<if condition='$count16 gt 0'>fonts</if>">（{$count16}）</span></td>
        <td>待审核调拨单<span class="<if condition='$count4 gt 0'>fonts</if>">（{$count4}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待审核其它入库单<span class="<if condition='$count5 gt 0'>fonts</if>">（{$count5}）</span></td>
        <td>待审核其它出库单<span class="<if condition='$count6 gt 0'>fonts</if>">（{$count6}）</span></td>       
      </tr>
	   <tr class="text-c">
        <td>待审核生产计划单<span class="<if condition='$count7 gt 0'>fonts</if>">（{$count7}）</span></td>
        <td>待审核耗材采购单<span class="<if condition='$count8 gt 0'>fonts</if>">（{$count8}）</span></td>       
      </tr>
    </tbody>
  </table>
</div>

<div id="container" style="width: 98%; height: 400px; margin: 0 auto;float:left;"></div>
<script language="JavaScript">
$(document).ready(function() {
   var title = {
      text: '总单量'
   };
   var xAxis = {
      categories: [{$day_list}]
   };
   var yAxis = {
      title: {
         text: '数量'
      },
      plotLines: [{
         value: 0,
         width: 1,
         color: '#808080'
      }]
   };   



   var legend = {
      align: 'center',
      verticalAlign: 'bottom',
      borderWidth: 0
   };

   var series =  [
      <!-- { -->
         <!-- name: '入库单', -->
         <!-- data: [7000, 6900, 9500, 14500, 18400, 21500, 25200, 26500, 23300, 18300, 13900, 9600] -->
      <!-- }, -->
      {
         name: '订单',
         data: [{$day_count}]
      }
   ];

   var json = {};

   json.title = title;
   json.xAxis = xAxis;
   json.yAxis = yAxis;

   json.legend = legend;
   json.series = series;

   $('#container').highcharts(json);
});
</script>
</body>
</html>